var height = document.documentElement.clientHeight;
console.log(height);

heights();

function heights() {
	document.getElementById("content").style.height = height * 0.9 + "px";
	document.getElementById("right").style.height = height * 0.75 + "px";

}

/* 侧边栏点击事件 */
$(function() {
	$("#right-nav").on("click", "li", function() {
		$(this).addClass("course-study-rightnav-style").siblings().removeClass("course-study-rightnav-style");
		var index = $(this).index();
		console.log(index);
	});
});
